import 'dart:ui';

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

const defaultColor = Color(0xffEA6B2B);
const defaultBgColor = Color(0xffeeeeee);

const baseURL = 'https://api.sptus.com'; //https://api.sptus.com  http://hsplyyyy.natapp1.cc


const fontColor = Colors.black;
const inputColor = Colors.white;
const inputHitColor = Color.fromRGBO(255, 255, 255, 0.5);
const themeColor = Color(0xff3C55F8);
const themeDisableColor = Color.fromRGBO(255, 255, 255, 0.1);
const themeBlueDisableColor = Color(0x4f3C55F8);

const whiteFontColor = Colors.white;
const greyFontColor = Color(0xff999999);
const defaultBlackBgColor = Color(0xff161619);

const baseVersionNum = '1.4.8';
const baseVersion = 'v$baseVersionNum';

final clientId = '6a723248-90ef-41e8-922e-0b378ea59d57';
final tenantId = '02b458b2-d954-4db8-9c92-288c0cc243c3';
late final authority =
    'https://login.microsoftonline.com/$tenantId/oauth2/v2.0/authorize';
late final iosAuth  = "https://login.microsoftonline.com/consumers";
final scopes = <String>[
  'https://graph.microsoft.com/user.read',
  // Add other scopes here if required.
];


//公共样式
final TextStyle inputStyle = TextStyle(
    color: Colors.white,
    fontSize: 32.sp,
    fontWeight: FontWeight.w400
);
final TextStyle inputHitStyle = TextStyle(
    color: Color.fromRGBO(255, 255, 255, 0.5),
    fontSize: 32.sp,
    fontWeight: FontWeight.w400
);

final inputBorder = Border.all(color: Color.fromRGBO(255, 255, 255, 0.5),width: 1.w);
final inputImg = Image.asset('assets/common/input_close.png',width: 48.w,);